package com.ddstation.common.service;

import java.util.List;

import com.ddstation.common.model.ImageModel;

/**
 * 图片服务
 * @author zhangdifeng
 *
 */
public interface ImageService {
	/**
	 * 获取图片url
	 * @param id
	 * @return
	 */
	public List<ImageModel> fetchImage(String[] id);
	public List<ImageModel> fetchImageByKey(String[] keys);
	
	/**
	 * 获取图片url
	 * @param attachment
	 * @return
	 */
	public List<ImageModel> fetchImage(String attachment);
	
	/**
	 * 添加图片
	 * @param url
	 * @return
	 */
	public int addImage(String url);
}
